﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin_Login.aspx.cs" Inherits="Admin_Login" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>


<html>
<head>
     <link href="css/css.css" type="text/css" rel="stylesheet"/>
     <script src="javascript/jscript.js" type="text/javascript"></script>
     <title>后台管理</title>
    
    
    <style type="text/css">
<!--
body {
    color:#0361b1;
	background-color: #F0FAFE;
	margin:0px;
}
td,tr,input{ font-size:12px;
}
-->
</style>


<script>
function formcheck()
{
 if (login.AdminName.value=="")
 {
   alert('请输入用户名!');
   login.AdminName.focus();
   return false;
 }
 if (login.password.value=="")
 {
   alert('请输入密码!');
   login.password.focus();
   return false;
 }

 
 login.action="Admin_Login.aspx?Action=LoginCheck";
 return true;
}
</script>
</head>
<body style="width:100%;height:auto;vertical-align: middle;text-align:center;">

<center>
    <div style="height:100px"></div>
    <form action="Admin_Login.aspx?Action=LoginCheck" method="post" name="login" target="_top" id="login" runat="server">
            <asp:ScriptManager id="ScriptManager1" runat="server">
            </asp:ScriptManager>
         <asp:UpdatePanel ID="UpdatePanel1" runat="server">
         <ContentTemplate>
   
   
<table width="364"  height="220" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="3"><img src="images/ADMINlogin_03.gif" width="364" height="53" alt="" /></td>
  </tr>
  <tr>
    <td width="6"><img src="images/ADMINlogin_05.gif" width="6" height="135" alt="" /></td>
     
    <td width="352" background="images/ADMINlogin_07.gif"><table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="76%" rowspan="2"><table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="76%"><table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="76%" height="22">用户名称:</td>
                </tr>
                <tr>
                  <td style="height: 21px"><input name="AdminName" type="text" id="AdminName" size="30" style="width:150px"/></td>
                </tr>
                <tr>
                  <td height="22">用户密码:</td>
                </tr>
                <tr>
                  <td><input name="password" type="password" id="password" size="30" style="width:150px"/></td>
                </tr>
          
            </table></td>
          </tr>
          
        </table></td>
        <td width="24%" height="13" valign="top"></td>
      </tr>
      <tr>
        <td width="24%" valign="top">
    
        <!--        
        <input type="image" name="imageField" id="imageField" src="images/ADMINlogin_11.gif"   onclick="return formcheck();"/>
        -->
            <asp:ImageButton ID="imageField" runat="server"  ImageUrl="images/ADMINlogin_11.gif" OnClientClick="return formcheck();"/>
        
        </td>
      </tr>
      
    </table></td>
    <td width="6"><img src="images/ADMINlogin_09.gif" width="6" height="135" alt="" /></td>
   
  </tr>
  <tr>
    <td height="55" colspan="3"><img src="images/ADMINlogin_14.gif" width="364" height="55" alt="" /></td>
  </tr>
</table>
         </ContentTemplate>
        </asp:UpdatePanel>

 </form>
 </center>

</body>
</html>
